import { RouteRecordRaw } from 'vue-router'

const routes: RouteRecordRaw[] = [
  {
    path: '/',
    name: 'Lobby',
    component: () => import('./pages/Lobby.vue'),
  },
  {
    path: '/room/:roomId/:roomName',
    name: 'room',
    component: () => import('./pages/Room.vue'),
    props: true,
  },
]

export default routes 